.component-modal-wrap {
  cursor: default;
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.component-modal-wrap:before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.component-modal-wrap:before {
  background: none;
}

.component-modal {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  .modal-body {
    text-align: left;
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(56, 56, 56, 0.2);
    border: 1px solid #e2e6ed;
    border-radius: 2px;
    position: static;
    min-width: 450px;
    padding: 0 30px 30px;
    //顶部
    .dialog-header {
      position: relative;
      border-bottom: 1px solid #e2e6ed;
      margin-bottom: 30px;
      height: 59px;
      display: flex;
      align-items: center;
      .header-title {
        display: inline-block;
        font-size: 18px;
        width: calc(100% - 24px);
      }
      .component-icon-btn {
        position: relative;
        /* display: inline-block;*/
        display: none;
        padding: 4px;
        border-radius: 2px;
        white-space: nowrap;
        flex-shrink: 0;
        /*图标*/
      }
    }
    //中间
    .dialog-content {
      cursor: default;
      max-width: 390px;
      .wrap {
        font-size: 14px;
        line-height: 1.5;
        color: #767c85;
        .content {
          text-indent: 2ch;
          .report-link {
            font-weight: bold;
            color: rgba(59, 100, 252);
            display: inline-flex;
            height: 22px;
            font-size: 14px;
            line-height: 22px;
            text-decoration: none;
            cursor: pointer;
            align-items: center;
            .kd-link-inner {
              text-indent: 0;
            }
          }
        }
        .link {
          display: flex;
          align-items: center;
          .url {
            white-space: nowrap;
            overflow: hidden;
            display: inline-block;
            text-overflow: ellipsis;
            text-indent: 2ch;
            -webkit-user-select: text;
            -ms-user-select: text;
            user-select: text;
            cursor: text;
          }
          .icons {
            margin-left: 12px;
            cursor: pointer;
          }
        }
        //不再出现
        .component-checkbox {
          cursor: pointer;
          display: inline-flex;
          align-items: center;
          flex-wrap: nowrap;
          font-size: 12px;
          margin-top: 14px;
          .checkbox-icon {
            position: relative;
            flex-shrink: 0;
            width: 14px;
            height: 14px;
            border: 1px solid #aeb5c0;
            border-radius: 2px;
          }
          .checkbox-text {
            margin-left: 6px;
            line-height: 16px;
          }
        }
      }
    }
    //底部
    .dialog-foot {
      cursor: default;
      text-align: right;
      padding-top: 24px;
      .component-text-btn {
        position: relative;
        display: inline-block;
        border: 1px solid #e2e6ed;
        border-radius: 2px;
        background: #fff;
        line-height: 22px;
        padding: 0 16px;
        white-space: nowrap;
        flex-shrink: 0;
        cursor: pointer;
      }
      :first-child {
        margin-right: 16px;
      }
      :last-child {
        margin-right: 0;
      }
      :hover {
        background: rgba(25, 55, 88, 0.04);
      }
    }
  }
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

p {
  margin-top: 0;
  margin-bottom: 0;
}
.icons {
  vertical-align: middle;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  flex-shrink: 0;
}
.icons.icons-16 {
  width: 16px;
  height: 16px;
}

body {
  cursor: default;
  font-size: 12px;
  color: #3d4757;
  height: calc(100% - var(--safe-bottom));
  display: flex;
  overflow: hidden;
  overscroll-behavior-x: none;
}
